package bean;

public class Woman extends Person{

    public Woman() {
    }

    public Woman(String shengyu) {
        this.shengyu = shengyu;
    }

    private String shengyu;

    public String getShengyu() {
        return shengyu;
    }

    public void setShengyu(String shengyu) {
        this.shengyu = shengyu;
    }

    @Override
    public String toString() {
        return "Woman{" +
                "shengyu='" + shengyu + '\'' +
                '}';
    }
}
